<style scoped lang="scss">
  .title {
    background: #000;
  }
</style>

<template>
  <section>
    <a href="#" @click="dialog.show = true">测试内容</a>
    <k-dialog :show.sync="dialog.show">
      23
    </k-dialog>
  </section>
</template>

<script>
  import KDialog from '../../../components/KDialog'
  import Component from 'vue-class-component'

  @Component({
    components: {KDialog}
  })
  export default class Index extends Vue {
    dialog = {
      show: false
    }

  }
</script>
